<?php if (!defined('THINK_PATH')) exit();?>
<?php if(is_array($activity)): foreach($activity as $k=>$activity): ?><div class="card demo-card-header-pic">
		<a href="<?php echo U('activityDetail/index',array('activity_id'=>$activity['id'],'city'=>$city));?>">
		<div valign="bottom" class="card-header color-white no-border no-padding">
			<img class='card-cover' src="<?php echo ($activity['activity_img']); ?>" alt="">
		</div>
		<div class="card-content">
			<div class="card-content-inner">
				<p class="hot_list_title"><?php echo ($activity['activity_name']); ?></p>
				<p class="color-gray"><?php echo (date("Y-m-d",$activity['start_time'])); ?> 至 <?php echo (date("Y-m-d",$activity['end_time'])); ?></p>
				<p class="color-gray"><span><?php echo ($activity['area']); ?></span><span><?php echo ((isset($activity['signup_number']) && ($activity['signup_number'] !== ""))?($activity['signup_number']):"0"); ?>人已报名</span><span>￥<?php echo ($activity['price']); ?></span></p>
			</div>
		</div>
		</a>
	</div><?php endforeach; endif; ?>